package com.baomibing.flow.track;

import com.baomibing.flow.constant.ProcessExecuteEnum;
import com.baomibing.flow.model.WorkNode;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;
import java.util.List;

/**
 * ProcessTrack
 *
 * @author frog 2023/10/9 08:47
 * @version 1.0.0
 **/
@Data @Accessors(chain = true)
public class ProcessTrack {

    private WorkNode node;

    private List<WorkNode> targets;

    private List<WorkNode> sources;

//    private List<ProcessTrack> next = new ArrayList<>();
//
//    private List<ProcessTrack> previous = new ArrayList<>();

    private String actor;

    private int level;

//    private boolean beFind = false;

    private ProcessExecuteEnum executeType;

    private String action;

    private Date executeTime;

    private String nodeType;
}
